#region Copyright RenGuiYou. All rights reserved.
//=====================================================
// NeatlyFrameWork
// Author:      RenGuiyou
// Feedback: 	mailto:750539605@qq.com
//=====================================================
#endregion

namespace Neatly.Module
{
    public class ModuleSingleton<T>: ModuleBase where T : ModuleBase 
    {
        private static T m_Instance;

        public static T Instance => m_Instance ??= ModuleManager.Instance.Get<T>();
    }
}
